package cn.stylefeng.guns.modular.transport.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.transport.entity.TransportCost;
import cn.stylefeng.guns.modular.transport.model.params.TransportCostParam;
import cn.stylefeng.guns.modular.transport.model.result.TransportCostResult;

/**
 * 运输费用表 Mapper 接口
 */
public interface TransportCostMapper extends BaseMapper<TransportCost> {

    /**
     * 获取列表
     */
    List<TransportCostResult> customList(@Param("paramCondition") TransportCostParam paramCondition);

    /**
     * 获取map列表
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") TransportCostParam paramCondition);

    /**
     * 获取分页实体列表
     */
    Page<TransportCostResult> customPageList(@Param("page") Page page, @Param("paramCondition") TransportCostParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    /**
     * 获取分页map列表
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") TransportCostParam paramCondition);

	List<TransportCostResult> findListBySpec(@Param("paramCondition")TransportCostParam param,@Param("operateId")Long operateId);

	void deleteBySpec(@Param("paramCondition")TransportCostParam param);

	List<TransportCostResult> findListBySpecS(@Param("paramCondition")TransportCostParam param);

}
